課程資訊
課程名稱
計算機程式
COMPUTER PROGRAMMING 
開課學期
98-2 
授課對象
土木工程學系  
授課教師
謝尚賢 
課號
CIE1008 
課程識別碼
501 10800 
班次
02 
學分
全/半年
半年 
必/選修
必修 
上課時間
星期一2,3,4(9:10~12:10) 
上課地點
 
備註
課後一小時練習。上課教室:工綜323室
限本系所學生(含輔系、雙修生)
總人數上限:40人 
Ceiba 課程網頁
http://ceiba.ntu.edu.tw/982CP 
課程簡介影片
 
核心能力關聯
核心能力與課程規劃關聯圖
課程大綱
為確保您我的權利,請尊重智慧財產權及不得非法影印
課程概述

介紹電腦語言及電腦程式之設計、寫作與維護,訓練學生邏輯思考,並使學生了解如何利用C++撰寫電腦程式解決工程領域中的問題。 

課程目標
透過電腦程式語言之介紹與實際寫作,提升學生邏輯思考與善用現代化資訊工具之能力,並能利用電腦程式解決簡單之工程領域相關問題。 
課程要求
上課認真學習,作業認真練習。 
預期每週課後學習時數
 
Office Hours
 
指定閱讀
Hennefeld, J., L. Baker, and C. Burchard (2003). Using C++: An Introduction to Programming, 2nd Ed., Brooks/Cole Publishing Company, Pacific Grove, CA, U.S.A. 
參考書目
教科書:

Hennefeld, J., L. Baker, and C. Burchard (2003). Using C++: An Introduction to
Programming, 2nd Ed., Brooks/Cole Publishing Company, Pacific Grove, CA, U.S.A.


參考書:

1. Stroustrup, B. (1991). The C++ Programming Language, 2nd Ed., Addison-
Wesley Publishing Company, New York, U.S.A.
2. Whale, G. (1996). Data Structures and Abstraction Using C,
International Thomson Publishing Companies, Australia.
3. Kernighan, B. W., and D. M. Ritchie (1988). The C Programming
Language, Second Edition, Prentice Hall, Englewood Cliffs, NJ, U.S.A.
 
評量方式
(僅供參考)
 
No.
項目
百分比
說明
1. 
作業 
10% 
Extra credits 
2. 
Lab exercises 
30% 
 
3. 
期末考 
25% 
 
4. 
期中考 
15% 
 
5. 
隨堂測驗 
30% 
 
 
課程進度
週次
日期
單元主題
第1週
02/22  Course Introduction <BR>Introduction to Programming Languages <BR>Overview of Computers and Problem Solving (Chapter 1) 
第2週
03/01  Introduction to Visual C++ <BR>
Introduction to C++ (Chapter 2) 
第3週
03/08  More on the Elements of C++ (Chapter 3) 
第4週
03/15  Selection Using if and if..else (Chapter 4)<BR>
<B>Quiz I (第一次小考)</B> 
第5週
03/22  Functions and Program Design (Chapter 5) 
第6週
03/29  The string Data Type and More Output Formatting (Chapter 6) <BR><B> Quiz II (第二次小考) </B> 
第7週
04/05  <B> 民族掃墓節 </B> 
第8週
04/12  The Three C Looping Constructs (Chapter 7) 
第9週
04/19  <B>Midterm Exam (期中考)(Ch. 1 - Ch. 7)</B> 
第10週
04/26  More General Task-Controlled Loops (Chapter 8)  
第11週
05/03  Functions with Reference Parameters (Chapter 9) 
第12週
05/10  More on Functions (Chapter 10)<BR>Recursive Functions (Chapter 25)<BR><B> Quiz III (第三次小考) </B> 
第13週
05/17  Text Files and Streams (Chapter 11)  
第14週
05/24  The switch and enum statements (Chapter 12) <BR>Arrays and the vector Class (Chapter 13)  
第15週
05/31  Matrices (Chapter 15)<BR>
<B> Quiz IV (第四次小考) </B> 
第16週
06/07  Pointers and Dynamic Memory Allocation (Chapter 22)  
第17週
06/14  More Advanced String Processing (Chapter 16) <BR>Structs (Chapter 17) 
第18週
06/21  <B> Final Exam (期末考) </B>